import { useParams } from "react-router";

const DetailPage = () => {
  const params = useParams();
  return (
    <>
      <div>This is Detail Page</div>
      <div>ID is {params.id}</div>
    </>
  );
};

export default DetailPage;
